package com.student.entities;

public class OrderItemEntity {
	private int id = 0;
	private int sellerId = 0;
	private int goodsId = 0;
	private int userId = 0;
	private int count = 0;
	private String orderNo = "";
	private int ispaid = 0;
	private String addTime = "";
	private int isComment = 0;
	private int state = 0;

	public OrderItemEntity() {
		super();
	}

	public OrderItemEntity(int id, int sellerId, int goodsId, int userId,
			int count, String orderNo, int ispaid, String addTime,
			int isComment, int state) {
		super();
		this.id = id;
		this.sellerId = sellerId;
		this.goodsId = goodsId;
		this.userId = userId;
		this.count = count;
		this.orderNo = orderNo;
		this.ispaid = ispaid;
		this.addTime = addTime;
		this.isComment = isComment;
		this.state = state;
	}

	public int getId() {
		return id;
	}

	public int getSellerId() {
		return sellerId;
	}

	public int getGoodsId() {
		return goodsId;
	}

	public int getUserId() {
		return userId;
	}

	public int getCount() {
		return count;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public int getIspaid() {
		return ispaid;
	}

	public String getAddTime() {
		return addTime;
	}

	public int getIsComment() {
		return isComment;
	}

	public int getState() {
		return state;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setSellerId(int sellerId) {
		this.sellerId = sellerId;
	}

	public void setGoodsId(int goodsId) {
		this.goodsId = goodsId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public void setIspaid(int ispaid) {
		this.ispaid = ispaid;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	public void setIsComment(int isComment) {
		this.isComment = isComment;
	}

	public void setState(int state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "OrderItemEntity [id=" + id + ", sellerId=" + sellerId
				+ ", goodsId=" + goodsId + ", userId=" + userId + ", count="
				+ count + ", orderNo=" + orderNo + ", ispaid=" + ispaid
				+ ", addTime=" + addTime + ", isComment=" + isComment
				+ ", state=" + state + "]";
	}

}
